package com.huitone.gddw.service;

import java.util.List;
import java.util.Map;

import com.huitone.gddw.dao.entity.NetSwtich;
import com.huitone.gddw.model.support.QueryPage;
import com.huitone.gddw.service.dto.NetSwtichDTO;

/**
 * 短信平台切换日志 接口
 * @author wuluodan
 *
 */
public interface INetSwtichService {

	/**
	 * 分页查询
	 * @param page QueryPage
	 * @return QueryPage
	 */
	String selectStatus();
	
	List<NetSwtichDTO> selectNetByIdOrName(Map<String, Object> map);
	
	/**
	 * 更改线路类型
	 * @param srvId 记录ID
	 * @param terrace 线路类型
	 */
	Integer changeTerrace(String runType);
	
	QueryPage<NetSwtichDTO> findTerracePage(QueryPage<NetSwtich> page);
	
	int selectCount(Map<String, Object> map);
	
	
}
